function  createLayout(el) {
    let {name,num,width}=$(el).data('obj')
    var parentDiv = $('<div>', {
        class: 'layout-container layout-row',
        style: 'display:flex;background-color: gray; padding: 10px;'
      });
    for (let i = 0; i < num; i++) {
       // 创建第二个子元素 <p>
        var child = $('<div>', {
            style:'width:'+width,
            class:'layout-col ui-droppable ui-sortable'
        });

        // 将子元素添加到父元素中
        parentDiv.append(child);
    }  
    return parentDiv
}